import { Component, OnInit } from '@angular/core';
import { Router, NavigationExtras, ActivatedRoute } from '@angular/router';
import {TranslateService} from '@ngx-translate/core';
import { DefaultLanguageService } from '../../../../../services/default-language.service';
@Component({
  selector: 'app-account-success',
  templateUrl: './account-success.page.html',
  styleUrls: ['./account-success.page.scss'],
})
export class AccountSuccessPage implements OnInit {

  constructor(
    private router: Router,
    private translate: TranslateService,
    private defaultLanguageService:DefaultLanguageService
  ) { }

  ngOnInit() {
  }

  toCardView(){
    let navigationExtras: NavigationExtras = {
      queryParams: {}
    };
    this.router.navigate(['/tabs/myAccount/bank-account/'], navigationExtras);
  }

}
